#ifndef SNCascadeParams_h__
#define SNCascadeParams_h__
//---------------------------------------------------------
#include "SNCVParams.h"
#include "SNFeatureParams.h"
//---------------------------------------------------------
static const char* SNCascadeStageTypes[] = { "BOOST" };
static const char* SNCascadeFeatureTypes[] = { "HAAR", "LBP", "HOG" };
//---------------------------------------------------------

class SNCascadeParams : public SNCVParams
{
public:
	SNCascadeParams();
	~SNCascadeParams();
	SNCascadeParams(int stage_type, int feature_type);

	enum { BOOST = 0 };
	static const int defaultStageType = BOOST;
	static const int defaultFeatureType = SNFeatureParams::HAAR;

	void Write(cv::FileStorage &fs) const{};
	bool Read(const cv::FileNode &node){ return true; };

	//void printDefaults() const;
	void printAttrs() const;
	bool ScanAttr(const QString prm_name, const QString val);

	int StageType;
	int FeatureType;
	cv::Size WinSize;
};
//---------------------------------------------------------
#endif // SNCascadeParams_h__

